package com.ai.service.security;

import com.ai.common.CommonResponse;
import com.ai.entity.security.SysRole;
import com.ai.model.param.BindingPermissionParam;
import com.ai.model.param.SysRoleParam;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 用户角色表 服务类
 * </p>
 *
 * @author chen
 * @since 2023-04-04 19:46:07
 */
public interface ISysRoleService extends IService<SysRole> {

    CommonResponse<String> add(SysRoleParam sysRoleParam);

    CommonResponse<String> updateByParam(SysRoleParam sysRoleParam);

    CommonResponse<String> bindingPermission(BindingPermissionParam permissionParam);

    CommonResponse<String> removeRoleById(Integer id);

}
